<template>
	<view class="um-description">
		<um-text class="label">{{label}}</um-text>
		<view class="value">
			<slot></slot>
		</view>
	</view>
</template>

<script lang="ts" setup>
	defineProps<{ label : string }>()
</script>

<style lang="scss" scoped>
	.um-description {
		font-size: 24rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
</style>